#include<stdio.h>
int ftol(float f)
{
	int a = *(int*)(&f);
	int s = (a >> 31);
	int e = ((a & 0x7fffffff) >> 23) - 127;
	int m = (a & ((1 << 23) - 1));
	m = m | (1 << 23);
	int r = m >> (23 - e);
	r = (r ^ s) - s;
	return r;
}

int main()
{
	int t;
	float f;
	scanf_s("%f", &f);
	t = ftol(f);
	printf("%d\n", t);

}